package com.ruoyi.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
/**
 * @author : Iron
 * @date : 2024-12-16 20:49
 * @description :
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_order")
@ApiModel("用户")
@EqualsAndHashCode(callSuper = true)
public class Order extends Model<Order> {

//    @ApiModelProperty("主键ID")
//    @TableId(type = IdType.AUTO)
//    private String Id;
//
//    @ApiModelProperty("用户ID")
//    private Integer userId;
//
//    @ApiModelProperty("城市ID")
//    private Integer cityId;
//    @ApiModelProperty("年份")
//    private Integer year;
//    @ApiModelProperty("月份")
//    private Integer month;
//
//
//    @TableField(exist = false)
//    @ApiModelProperty(value = "当前页数",  example = "1")
//    private Integer page;
//
//    @TableField(exist = false)
//    @ApiModelProperty(value = "分页大小",  example = "10")
//    private Integer pageSize;

     @ApiModelProperty("主键ID")
    @TableId(type = IdType.AUTO)
    private String Id;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("城市ID")
    private Integer cityId;
    @ApiModelProperty("年份")
    private Integer year;
    @ApiModelProperty("月份")
    private Integer month;


    @TableField(exist = false)
    @ApiModelProperty(value = "当前页数",  example = "1")
    private Integer page;

    @TableField(exist = false)
    @ApiModelProperty(value = "分页大小",  example = "10")
    private Integer pageSize;
}
